Sliding Window
Useful for contiguous subarray or substring problems.
A common use case is finding the longest substring without repeating characters.
Another use case is finding the minimum-length subarray satisfying a condition.
Many sliding-window solutions reduce a brute-force O(n²) approach to O(n).
The exact validity condition depends on the problem and data properties.